let { request_3031, request_3001 } = require("../../utils/https.js");
// 评估相关
module.exports = {
 
 
  // 直接转流转
  folllowRiever: (data) => {
    console.log(data);
    return request_3001({
      url: "/circulation/folllowRiever",
      method: "POST",
      data,
    });
  },
  applyEvaluation: (data) => {
    console.log(data);
    return request_3001({
      url: "/circulation/applyEvaluation",
      method: "POST",
      data,
    });
  },
  getEvaluationMan: (sslb,xmbh) => {

    return request_3001({
      url: `/circulation/evaluators?sslb=${sslb}&xmbh=${xmbh}`,
      method: "GET",
    
    });
  },
  taskEvaluation:(data)=>{
    return request_3001({
      url: "/circulation/evaluator/setTask",
      method: "POST",
      data,
    });
  },
  gettaskEvaluation:(xmbh)=>{
    return request_3001({
      url: `/circulation/evaluator/getTask?xmbh=${xmbh}`,
      method: "GET",
    });
  },
  applytask:(data)=>{
    return request_3001({
      url: `/circulation/evaluator/personStatus`,
      method: "POST",
      data
    });
  },
  applytaskleader:(data)=>{
    return request_3001({
      url: `/circulation/evaluator/leaderStatus`,
      method: "POST",
      data
    });
  },
  // 获取我的跟进列表
  getevaluateList:(query)=>{
    return request_3001({
      url: `/circulation/evaluateList?xmfl=${query}`,
      method: "GET",
      params:query
    });
  },
  // 获取人员所属评估类别
  getevaluateUserLB:(query)=>{
    return request_3001({
      url: `/circulation/evaluators/user?rybh=${query}`,
      method: "GET",
    });
  },
};
